package com.ljy.crawler.service.impl;

import com.ljy.crawler.entity.JdItem;
import com.ljy.crawler.mapper.JdItemMapper;
import com.ljy.crawler.service.IJdItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 京东商品表 服务实现类
 * </p>
 *
 * @author liangjiayy
 * @since 2022-01-25
 */
@Service
public class JdItemServiceImpl extends ServiceImpl<JdItemMapper, JdItem> implements IJdItemService {

    @Override
    @Transactional
    public boolean sava(JdItem item) {
        return save(item);
    }
}
